{% extends 'airshow/base.html' %}
{% load static %}

{% block title %}观众信息详情 - 航展管理系统{% endblock %}

{% block content %}
<div class="container mt-4">
    <div class="card">
        <div class="card-header">
            <h3 class="card-title">观众信息详情</h3>
        </div>
        <div class="card-body">
            <div class="row">
                <div class="col-md-6">
                    <p><strong>姓名：</strong>{{ audience.name }}</p>
                    <p><strong>电话：</strong>{{ audience.phone }}</p>
                    <p><strong>备注：</strong>{{ audience.notes|default:"无" }}</p>
                </div>
            </div>
        </div>
        <div class="card-footer">
            <a href="{% url 'airshow:audience_info_list' %}" class="btn btn-secondary">返回列表</a>
            <a href="{% url 'airshow:edit_data' 'audienceinfo' audience.id %}" class="btn btn-primary">编辑</a>
            <a href="{% url 'airshow:delete_data' 'audienceinfo' audience.id %}" class="btn btn-danger">删除</a>
        </div>
    </div>
</div>
{% endblock %} 